package org.guajava.controller.system;

import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.guajava.framework.web.base.BaseController;

/**
 * SysDruidController.java
 *
 * @Description:
 * @author: lishiming
 * @Date: 11:33 2019/1/23
 */
@Controller
@RequestMapping("/system/data")
public class SysDruidController extends BaseController{
    private String prefix = "/monitor/druid";

    @RequiresPermissions("monitor:data:view")
    @GetMapping()
    public String index()
    {
        return redirect(prefix + "/index");
    }
}
